﻿@model IEnumerable<OAWeb.Models.StudentScore>

@{
    ViewBag.Title = "Index";
}

<h2>成绩</h2>


<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.StdNumber)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Name)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ClassName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CourseName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Score)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.StdNumber)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ClassName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CourseName)
        </td>

        <td>
            @Html.DisplayFor(modelItem => item.Score)
        </td>
        
    </tr>
}

</table>
